from django.db import models

# Create your models here.

class YtbCommentTaskLog(models.Model):
    vid = models.CharField(max_length=20)
    file_path = models.FileField(upload_to='results/comment',verbose_name='评论数据文件',blank=True)
    detail = models.CharField(max_length=50,default='')
    src_video_path = models.CharField(max_length=50, blank=True, null=True)
    final_video_path = models.CharField(max_length=50, blank=True, null=True)
    create_time = models.DateTimeField(auto_now_add=True)
    update_time = models.DateTimeField(auto_now=True)

    class Meta:
        verbose_name = '评论任务记录'
        verbose_name_plural = verbose_name
